home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Macintosh Tracker Source / Tracker Client Folder / Core 18⁄March⁄1994 / Object Access Code / ClassObjErr.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-12  |  717 b   |  28 lines  |  [TEXT/KAHL]

  1. /* ObjErr.c */
  2.  
  3. #include "ClassObjErr.h"
  4.  
  5.  
  6. #ifdef DEBUG
  7. /******************************************************************************
  8.  __noObject
  9.  
  10.      Called by oopsDebug if message is sent to a bad object pointer/handler
  11.  ******************************************************************************/
  12.  
  13. void __noObject(void)
  14. {
  15.     PRERR(ForceAbort,"Method invoked via pointer to something other than object.");
  16. }
  17. /******************************************************************************
  18.  __noMethod
  19.  
  20.      Called by oopsDebug if a message lookup fails
  21.  ******************************************************************************/
  22.  
  23. void __noMethod(void)
  24. {
  25.     PRERR(ForceAbort,"Method invokation failed.");
  26. }
  27. #endif
  28.